<!-- 基本信息 -->

<template>
  <div>
    <EasyRow col2>
      <FormInput :label="`${MAP.WORD}单号`" bind="changeCode" disabled />
      <FormDate :label="`${MAP.WORD}时间`" bind="changeTime" string future required />
    </EasyRow>

    <EasyRow col2>
      <FormTree
        :label="`${MAP.WORD}${CORE.MAP.ORGAN}`"
        bind="deptId, deptName"
        :dict="CORE.ORGAN.DICT"
        required
        @change="changeOrgan"
      />
      <FormSelect :label="`${MAP.WORD}人`" bind="userId, userName" :dict="user_selectDict" required />
    </EasyRow>

    <EasyRow col2>
      <FormSelect :label="`${MAP.WORD}方式`" bind="handleType" :dict="CORE.DICT.disposal_type_code" required />
    </EasyRow>

    <EasyRow col2>
      <FormInput :label="`${MAP.WORD}成本`" bind="handleCost" />
      <FormInput :label="`${MAP.WORD}收入`" bind="handleIncome" />
    </EasyRow>

    <FormTextarea label="备注" bind="remark" :max="100" :rows="2" />

    <FormFile label="附件" bind="fileDtoList" folder="device" />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MyBase from '@admin/views/Maintain/Device/DeviceChange/ChangeBorrow/MyModal/MyBase'

// ============================== 导出组件 ============================== //

export default CORE.extend(MyBase)
</script>
